package com.pr.makfilm.service.impl;

import com.pr.makfilm.dao.IAbstractDao;
import com.pr.makfilm.dao.IContactPersonDao;
import com.pr.makfilm.domain.ContactPerson;
import com.pr.makfilm.service.IContactPersonService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created with IntelliJ IDEA.
 * User: Pawel
 * Date: 17.09.13
 * Time: 21:17
 * To change this template use File | Settings | File Templates.
 */
@Service(ContactPersonServiceImpl.BEAN_NAME)
public class ContactPersonServiceImpl extends AbstractServiceImpl<ContactPerson> implements IContactPersonService
{
   public static final String BEAN_NAME = "contactPersonService";

   @Resource
   private IContactPersonDao contactPersonDao;

   @Override
   protected IAbstractDao<ContactPerson> getDao()
   {
      return contactPersonDao;
   }
}
